
<div class="grid">
    <div class="grid-head" ng-click="headClick($event)">
        <table class="table-head">
            <tbody>
            <tr>
                <th class="table-scroll-space"></th>
            </tr>
            </thead>
        </table>
    </div>
    <div class="grid-body" ng-click="bodyClick($event)" ng-dblclick="bodyDbclick($event)">
        <table class="table-body">
            <tbody>
            <tr ng-repeat="(rowIndex, row) in source" active="{{selectedRow === row}}" data-row-index="{{rowIndex}}">
                <td class="grid-col-checkbox" ng-if="grid.hasCheckbox" data-checkbox-cell="true">
                    <g-checkbox ng-model="grid.rowStates[rowIndex].checked"></g-checkbox>
                </td>
                <td g-cell ng-repeat="(columnIndex, column) in columns"  data-row-index="{{rowIndex}}" data-cell-index="{{columnIndex}}">&nbsp;</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
